package com.example.function_interface;

import lombok.Getter;
import lombok.Setter;

/**
 * 用户
 */
@Setter
@Getter
public class User {

    private int id;
    private String name;
    private int age;
    private boolean man;
    private double money;

    public User() {
    }

    public User(int id, String name, int age, boolean man) {
        this.id = id;
        this.name = name;
        this.age = age;
        this.man = man;
    }

    public User(int id, String name, int age, boolean man, double money) {
        this.id = id;
        this.name = name;
        this.age = age;
        this.man = man;
        this.money = money;
    }
}
